package com.example.edu.Mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Picture_DocMapper {
    @Delete("delete from picture_doc where document_id = #{document_id}")
    void delete(@Param("document_id") int document_id);

    void addMany(@Param("document_id") int document_id, @Param("picture_ids") List<Integer> picture_id);
}
